package model;

import java.util.Date;

public class Board {
	private Integer id;
	private String title;
	private String content;
	private Date lasttime;
	private Date publishtime;
	private Integer publisher;
	private String publishername;
	private Integer status;
	private String attach;
	private String attachname;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getLasttime() {
		return lasttime;
	}
	public void setLasttime(Date lasttime) {
		this.lasttime = lasttime;
	}
	public Date getPublishtime() {
		return publishtime;
	}
	public void setPublishtime(Date publishtime) {
		this.publishtime = publishtime;
	}
	public Integer getPublisher() {
		return publisher;
	}
	public void setPublisher(Integer publisher) {
		this.publisher = publisher;
	}
	public String getPublishername() {
		return publishername;
	}
	public void setPublishername(String publishername) {
		this.publishername = publishername;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getAttach() {
		return attach;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	public String getAttachname() {
		return attachname;
	}
	public void setAttachname(String attachname) {
		this.attachname = attachname;
	}
	@Override
	public String toString() {
		return "Board [id=" + id + ", title=" + title + ", content=" + content
				+ ", lasttime=" + lasttime + ", publishtime=" + publishtime
				+ ", publisher=" + publisher + ", publishername="
				+ publishername + ", status=" + status + ", attach=" + attach
				+ ", attachname=" + attachname + "]";
	}
	
	
	
}
